import request from '@/utils/request'

// 查询PcwlShopDetails列表
export function loadDataList(query) {
	return request({
		url: '/pcwlShopDetails/loadDataList',
		method: 'get',
		params: query
	})
}
// 新增PcwlShopDetails
export function addPcwlShopDetails(data) {
	return request({
		url: '/pcwlShopDetails/add',
		method: 'post',
		data: data
	})
}
//查询PcwlShopDetails详细
export function getPcwlShopDetailsById(pcwlShopDetailsId) {
	return request({
		url: '/pcwlShopDetails/getPcwlShopDetailsById/' + pcwlShopDetailsId,
		method: 'get',
	})
}
//修改PcwlShopDetails
export function updatePcwlShopDetailsById(data,pcwlShopDetailsId) {
	return request({
		url: '/pcwlShopDetails/updatePcwlShopDetailsById/'+pcwlShopDetailsId,
		method: 'put',
		data: data
	})
}
//删除PcwlShopDetails
export function delPcwlShopDetailsById(pcwlShopDetailsId) {
	return request({
		url: '/pcwlShopDetails/deletePcwlShopDetailsById/'+pcwlShopDetailsId,
		method: 'delete',
	})
}
